﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Header.ascx.cs" Inherits="CS424_9pts.Modules.Header" %>


<div class="header">
    <div class="header-logo">
 
    </div>
    <div class="header-links-wrapper">
        <div class="header-links">
            <ul>
                <asp:LoginView ID="topLoginView" runat="server">
                    <AnonymousTemplate>
                        <li><a href="../Account/Login.aspx" class="ico-login">Login</a></li>
                        <li><a href="../ShoppingCart.aspx" class="ico-cart">Shopping Cart</a></li>
                         </AnonymousTemplate>
                    <LoggedInTemplate>
                       
                   <li><a href="MyAccount.aspx" class="account">
                            <%=Page.User.Identity.Name %></a> </li>
                        <li>
                            <asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" CssClass="ico-logout"
                                LogoutText="Log Out" LogoutPageUrl="~/" />
                        </li>
                         <li><a href="../ShoppingCart.aspx" class="ico-cart">Shopping Cart</a></li>
                        <li><a href="#"  class="ico-admin">Administration</a></li>

                    </LoggedInTemplate>
                </asp:LoginView>
            </ul>
        </div>
    </div>
    <div class="header-selectors-wrapper">
        <div class="header-languageselector">
         
        </div>
    </div>
</div>
